--- ./lib/preferences/filters.py.orig	2012-09-16 03:19:48.000000000 +0000
+++ ./lib/preferences/filters.py	2014-07-14 18:48:28.000000000 +0000
@@ -1,11 +1,15 @@
 import time
 from datetime import datetime, timedelta
+import sys
 
 from gi.repository import Gtk
 
 from ..filterliststore import FilterColumn
 from ui import *
 
+_encoding = sys.getfilesystemencoding()
+if _encoding is None:
+    _encoding = 'utf-8'
 
 class FilterDialog(DialogBase):
     """Filter Dialog"""
@@ -43,7 +47,7 @@
 
         v = [
             self.combobox_target.get_active_text(),
-            self.entry_word.get_text().decode('utf-8'),
+            self.entry_word.get_text().decode(_encoding),
             expire.value,
             expire.unit,
             expire.epoch,
